package cn.changeforyou.analyzer.xmlparse.mybatis.model;

import cn.changeforyou.analyzer.combine.orm.XmlCodeType;
import cn.changeforyou.analyzer.combine.orm.compare.ComparedStruct;
import lombok.Data;
import org.dom4j.Node;

@Data
public abstract class MybatisXmlLabel<T extends Node> implements Comparable<MybatisXmlLabel>, ComparedStruct {
	private XmlCodeType id;
	private T node;
	private String tableName;
	
	@Override
	public int compareTo(MybatisXmlLabel o) {
		return this.id.compareTo(o.id);
	}
	
}
